package com.health.db.service.sm;

import java.util.Map;

import com.alipay.api.AlipayApiException;
import com.alipay.api.response.*;

public interface IAlipayService {


	AlipayTradeCreateResponse create(String out_trade_no,String total_amount,String subject,String body)throws AlipayApiException;
	AlipayTradeRefundResponse refund(String out_trade_no, String trade_no,
									 String refund_amount, String refund_reason, String out_request_no,
			String operator_id, String store_id, String terminal_id)throws AlipayApiException;
	AlipayTradeQueryResponse queryOrder(String out_trade_no,String trade_no)throws AlipayApiException;
	AlipayTradeCancelResponse cancel(String trade_no,String out_trade_no)throws AlipayApiException;
	AlipayTradeCloseResponse close(String trade_no,String out_trade_no)throws AlipayApiException;
	AlipayTradeFastpayRefundQueryResponse refundQuery(String trade_no,String out_trade_no,String out_request_no)throws AlipayApiException;
	String applyPay(Map<String, String> param) throws Exception;
	String applyWapPay(String subject,String out_trade_no,String total_amount,String goods_type) throws Exception;
}
